<?php

namespace app\validate;

use think\Validate;

class HonorVerifyValidate extends Validate
{
    protected $rule = [
        'status' => 'require|in:0,1',
    ];

    protected $message = [
        'status.require' => '审核状态不能为空',
        'status.in'      => '审核状态只能是 0（不通过） 或 1（通过）',
    ];

    protected $scene = [
        'verify' => ['status'],
    ];
}
